//
//  JSXFMDB.h
//  SmartPhoto
//
//  Created by 蒋尚秀 on 16/4/1.
//  Copyright © 2016年 蒋尚秀. All rights reserved.
//

//status 1已签到

#import <Foundation/Foundation.h>
#import "FMDB.h"

@interface JSXFMDB : NSObject

+(instancetype)sharedJSXFMDB;

//插入数据库
-(BOOL)insertCheck:(NSDate *)date;

//查询今天签到状态
-(int)selectTodayCheck;

//删签到
-(BOOL)deleteCheck:(NSDate *)date;

-(BOOL)deleteCheckWith:(NSString *)dateStr;

-(NSArray *)selectAll;

@end
